package com.loongtech.bi.entity.game;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
import java.io.Serializable;
import java.util.Date;

@Entity
@Table(name = "remain_currency")
public class EntityRemainCurrency implements Serializable {
	private static final long serialVersionUID = 2L;

	@Id
	private Date day;
	@Id
	@Column(columnDefinition="varchar(32)")
	private String serverid;
	@Id
	@Column(columnDefinition="varchar(32)")
	private String channelid;
	@Id
	@Column(columnDefinition="varchar(32)")
	private String platformid;
	@Id
	private Integer currencytype;  // 2=绑定；3=非绑定
	@Column(columnDefinition="bigint(20) NOT NULL default 0")
	private Long remain;
	
	public String getServerid() {
		return serverid;
	}
	public void setServerid(String serverid) {
		this.serverid = serverid;
	}
	public String getChannelid() {
		return channelid;
	}
	public void setChannelid(String channelid) {
		this.channelid = channelid;
	}
	public String getPlatformid() {
		return platformid;
	}
	public void setPlatformid(String platformid) {
		this.platformid = platformid;
	}
	public Integer getCurrencytype() {
		return currencytype;
	}
	public void setCurrencytype(Integer currencytype) {
		this.currencytype = currencytype;
	}

    public Date getDay() {
        return day;
    }

    public void setDay(Date day) {
        this.day = day;
    }

    public Long getRemain() {
        return remain;
    }

    public void setRemain(Long remain) {
        this.remain = remain;
    }
}